from flask import Flask
from view.user_bp import user_bp

def create_app(config):
    flask_app = Flask(__name__)
    flask_app.config.from_object(config)
    flask_app.register_blueprint(user_bp)


    return flask_app